package com.exchange.interceptor;

	public enum EnumError {
		
		TRADE_REVOKE_FAIL("4078","交易订单撤销失败"),
		NOT_OPEN_QUOTA("4077","还未开盘"),
		COIN_TEAM_NULL("4076","交易对不存在"),
		OTC_ORDER_NOT_ADOPT("4075","您无法进行放币"),
		OTC_ORDER_NOT_PAY("4074","您无法进行放款"),
	    OTC_ORDER_NOT_CANCEL("4073","自己下的卖单不能撤销"),
	    OTC_ORDER_NOT_FIND("4072","订单不存在"),
	    OTC_ORDER_NUM_EXCEED("4071","订单购买数量超过广告剩余数量"),
		OTC_OTDER_NUM_LESS_LIMIT("4071","购买数量低于下限"),
	    OTC_ADVERT_NOT_ALLOW_PAYMENT("4070","广告不支持您的支付方式"),
	    OTC_ORDER_NOT_COMPLETE("4069","您在当前广告中还存在未完成的订单"),
	    OTC_ORDER_NUM_LACK("4068","订单可售卖数量不足"),
	    OTC_APPLY_ORDER_TOO_MUCH("4068","未支付订单数量超过限制"),
	    USER_NOT_OPERATE_OWN_ADVERT("4067","用户不能操作自己的广告"),
	    ADVERT_NOT_TO_BE_INVALID("4066","广告有进行中的订单，请勿下架"),
		OTC_ADVERT_NEED_INVALID("4065","下架后才能编辑广告"),
		OTC_ADVERT_NOT_FIND("4064","广告不存在"),
		OTC_LIMIT_UP("4063","普通商户发布单个广告数值上限"), 
	    OTC_NOT_MERCHANT("4062","只有商户能发布广告"),
		PARAMETER_ARE_ERROR("4061","参数错误"),
		HAS_FAIL("4060","商户申请失败"),
	    HAS_APPLY_MERCHANT("4059","您以提交申请"),
	    HAS_MERCHANT("4058","用户已经是商户"),
		WALLET_INSUFFICIENT_FUNDS("4057","钱包余额不足"),
		PAYMENT_BANK_NULL("4056","支付银行错误"),
		PAYMENT_QRCODE_NULL("4055","支付二维码错误"),
		PAYMENT_USERNAME_NULL("4055","支付用户错误"),
		PAYMENT_ACCOUNT_NULL("4054","支付账户错误"),
		PAYMENT_ADDRESS_NULL("4053","支付地址错误"),
		PAYMENT_NULL("4052","支付方式不存在"),
		PAYMENT_IS_DIFFERENT_WITH_KYC("4051","添加支付方式用户信息与认证信息不一致"),
		img_count_error("4050","图片数量错误"),
		CITY_NULL("4049","城市为空"),
		img_too_big("4048","上传的图片太大"),
		new_old_eq("4047","新旧密码相同"),
		invitation_NULL("4046","邀请码不存在"),
		No_need_add("4045","不需要补填"),
		already_binding("4044","已经绑定了"),
		CIPHER_PASSWORD_ERROR("4043","交易密码错误"),
		again_login("4042","请重新登陆"),
		ACCOUNT_OR_PASSWORD_ERROR("4041","账号或密码错误"),
		invitation_fail("4040","邀请关系失败"),
		register_fail("4039","注册失败"),
		ACCOUNT_NUM_MAX("4038","您的账户数量上限"),
		SMS_VCode_Send_TYPE_ERROR("4037","发送验证类型错误"),
		C2_V_NO_IMG_EXT("4036","上传文件格式不正确"),
		C2_V_NO_UP("4035","C2当前不可提交"),
		C2_V_NO_CONDUCT("4034","未C2认证"),
		C2_V_CONDUCT("4033","C2认证中"),
		C2_V_FAIL("4032","C2认证未通过"),
		C2_V_PAST("4031","C2认证通过"),
		C1_V_NO_CONDUCT("4030","未C1认证"),
		C1_V_CONDUCT("4029","C1认证中"),
		C1_V_FAIL("4028","C1认证未通过"),
		C1_V_PAST("4027","C1认证通过"),
		SQL_STORAGE_ERROR("4026","数据库存储失败"),
		ID_NUMBER_FORMAT_ERROR("4026","身份证号码格式错误"),
		ID_NUMBER("4025","证件号为空"),
		ID_CARD_TYPE_NULL("4024","证件类型为空"),
		COUNTRY_NULL("4023","国籍为空"),
		FIRST_NAME_NULL("4022","名字为空"),
		LAST_NAME_NULL("4021","姓氏为空"),
		GET_IP_FAIL("4020","获取用户IP失败"),
		APP_USER_TOKEN_ERROR("4020","用户账号TOKEN失效或错误,请重新登录"),
		PASSWORD_ERROR("4019","密码错误"),
		ACCOUNT_FORMAT_ERROR("4017","账号格式错误"),
		ACCOUNT_NO("4018","账号不存在"),
		ACCOUNT_NULL("4016","账号为空"),
		LANGUAGE_NULL("4015","请传入语种"),
		EMAIL_NULL("4014","邮箱为空"),
		EMAIL_FORMAT_ERROR("4013","邮箱格式错误"),
		gt_challenge_NULL("4012","极验质疑值为空"),
		gt_seccode_NULL("4011","极验验证密钥为空"),
		gt_validate_NULL("4010","极验验证标识为空"),
		gt_server_status_NULL("4009","极验极验验证状态为空"),
		txHash_NULL("4008","txHash为空"),
		SMS_VCode_NULL("4007","短信验证码为空"),
		PASSWORD_NULL("4006","密码为空"),
		PHONE_FORMAT_ERROR("4005","手机号格式错误"),
		PHONE_NULL("4004","手机号为空"),
		SMS_VCode_Sent("3004", "验证码已发送"),
		SMS_VCode_Send_Failure("3005", "短信验证码发送失败"),
		SMS_VCode_Send_Success("3003", "短信验证码发送成功"),
		GT_INIT_ERROR("3002", "极验初始化错误"),
		ROBOT_V_Failure("4001", "人機驗證失敗"),
		REGISTERED("4002","用户已注册"),
		SMS_VCode_INVALID("4003","验证码无效"),
		PARAMETER_ARE_MISSING("5001","缺少参数"),
		SYSTEM_ERROR("5001","系统错误");
		
		
		
	    private String errorCode;
	    private String errorMsg;
	 
	    private String code;
	    private String msg;
	 
	    private EnumError(String code, String msg) {
	        this.code = code;
	        this.msg = msg;
	    }
	 
	    public String getCode() {
	        return code;
	    }
	 
	    public String getMsg() {
	        return msg;
	    }
	 
	}
	

